<template>
  <p>isFullscreen:{{ isFullscreen }}</p>
  <button @click="toggle">点击切换</button>
</template>

<script setup>
import { useFullscreen } from '@vueuse/core'
const { isFullscreen, toggle } = useFullscreen()
</script>

<style lang="scss" scoped></style>
